import instance from "../request"


export const staff = {
    //获取每日人员考勤统计信息
    getDailyStatistic: (data) => {
        return instance({
            url: '/attendence/getDailyStatistic',
            method: 'post',
            data
        })
    },
    //获取每日考勤信息
    getDailyAttendence: (data) => {
        return instance({
            url: '/attendence/getDailyAttendence',
            method: 'post',
            data
        })
    },
    //根据idCardNo获得人员详细信息
    getPersonInfoDetailById: (data) => {
        return instance({
            url: '/attendence/getPersonInfoDetailById',
            method: 'post',
            data
        })
    },
    //查询人员列表
    getPersonInfoList: (data) => {
        return instance({
            url: '/attendence/getPersonInfoList',
            method: 'post',
            data
        })
    }
}